package com.xxx.pojo;

import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author George
 * @since 2023-07-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class ProductDetails implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 产品ID
     */
    @TableField("Product_id")
    //    解决vueLong类型精度丢失问题
    @JsonFormat(shape =JsonFormat.Shape.STRING )
    private Long productId;

    /**
     * 产品介绍
     */
    @TableField("Product_description")
    private String productDescription;

    /**
     * 产品包装
     */
    @TableField("Product_package")
    private String productPackage;

    /**
     * 产品重量
     */
    @TableField("Product_weight")
    private Integer productWeight;

    /**
     * 产品产地
     */
    @TableField("Product_origin")
    private String productOrigin;

    /**
     * 产品规格
     */
    @TableField("Product_specification")
    private String productSpecification;

    /**
     * 产品销量
     */
    @TableField("Product_sales")
    private Integer productSales;

    /**
     * 产品评价
     */
    @TableField("Product_comment")
    private String productComment;

    /**
     * 产品浏览人数
     */
    @TableField("Product_browse")
    private Integer productBrowse;

    /**
     * 产品详情图1
     */
    @TableField("Product_mainPic1")
    private String productMainpic1;

    /**
     * 产品详情图2
     */
    @TableField("Product_mainPic2")
    private String productMainpic2;

    /**
     * 产品详情图3
     */
    @TableField("Product_mainPic3")
    private String productMainpic3;

    /**
     * 产品详情图4
     */
    @TableField("Product_mainPic4")
    private String productMainpic4;

    /**
     * 产品详情图5
     */
    @TableField("Product_mainPic5")
    private String productMainpic5;

    /**
     * 产品详情图6
     */
    @TableField("Product_mainPic6")
    private String productMainpic6;


}
